import request from '@/utils/request'
export function fetchLabel(query) {
    return request({
     // url: '/vue-element-admin/article/list',
     // ul:'http://192.168.110.192:5000/api/private/v1/cases',
      url:'/label',
      method: 'get',
      params: query
    })
  }
  export function createLabel(data) {
    return request({
      url:'/label',
      method: 'post',
      data
    })
  }
  export function deleteLabel(id) {
    return request({
      url:'/label',
      method: 'delete',
      params: { id }
    })
  }
  